package mysql

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Number int    `gorm:"type:int(20);not null;comment:'编号'"`
	Name   string `gorm:"type:varchar(20);not null;comment:'名称'"`
	Market int    `gorm:"type:int(20);not null;comment:'市场价格'"`
	Price  int    `gorm:"type:int(20);not null;comment:'成本价格'"`
	Image  string `gorm:"type:varchar(255);not null;comment:'图片'"`
	UserId int    `gorm:"type:int(20);not null;comment:'用户Id'"`
}
